package com.probox.common.entity.service.customer;

import com.baomidou.mybatisplus.extension.service.IService;
import com.probox.common.entity.domain.customer.CustomerLabel;
import com.probox.common.entity.domain.customer.CustomerLabelInfo;

import java.util.List;

public interface ICustomerLabelInfoService extends IService<CustomerLabelInfo> {


    /***
     * 添加和修改客户标签
     * @param customerId
     * @param list
     * @return
     */
    public boolean addOrEdit(Long customerId, List<CustomerLabelInfo> list);

    /**
     * 根据客户查询对应的标签
     *
     * @param customerId
     * @return
     */

    public List<CustomerLabelInfo> getByCustomerId(Long customerId);


    /**
     * 删除标签sss
     *
     * @param infoId
     * @return
     */
    public boolean delLabel(Long infoId);
}
